@extends('admin.common')

@section('warp_head')
    <h1>
        邀请排行榜
        <small>列表</small>
    </h1>

    <ol class="breadcrumb" style="margin-right: 30px;">
        <li><a href="{{ admin_url('/') }}"><i class="fa fa-dashboard"></i> Home</a></li>
    </ol>
@endsection

@section('warp_content')
    <div class="box">
        <div class="box-header">

            <h3 class="box-title"></h3>

            <div class="pull-right">
            </div>

            <span>
        </span>

        </div>
        <!-- /.box-header -->
        <div class="box-body table-responsive no-padding">
            <table class="table table-hover">
                <tr>
                    <th>排名</th>
                    <th>头像</th>
                    <th>用户</th>
                    <th>邀请人数</th>
                    <th>操作</th>
                </tr>
                @foreach($volist as $k=>$v)
                     <tr>
                        <td>{{ $v->rank }}</td>
                        <td><img src="{{ $v->avatar }}" width="120" height="80"/></td>
                        <td>{{ $v->name }}</td>
                        <td>{{ $v->nums }}</td>
                        <td><a href="/admin/inviteRank/opreat?invite_id={{ $v->invite_id }}">徒弟列表</a></td>
                    </tr>
                @endforeach

            </table>
        </div>
        <div class="box-footer clearfix">
        </div>
        <!-- /.box-body -->
    </div>
@endsection

@section('script')
    <script>

    </script>
@endsection